﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" MasterPageFile="~/Account/account.master"
    CodeFile="Editlogin.aspx.cs" Inherits="account_Editlogin" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/formList.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #accountContent
        {
            text-align: center;
        }
        
        #selfPanel > *
        {
            display: inline-block;
            vertical-align: top;
        }
        #ChangePasswordSection
        {
            margin-right: 50px;
        }
    </style>
</asp:Content>
<asp:Content ClientIDMode="Static" ContentPlaceHolderID="AccountContent" runat="Server">
    <div id="accountContent">
        <asp:Panel ID="selfPanel" runat="server" Visible="false">
            <section id="ChangePasswordSection">
                <asp:ChangePassword ID="ChangePassword" runat="server" RenderOuterTable="False"/>
            </section>
            <section>
                <asp:Button ID="deleteAccountButton" runat="server" OnClick="deleteAccountButton_Click"
                    Text="Delete Account" OnClientClick="return confirm(&quot;Do you really want to DELETE your account?\nIf you press Yes, your account will be deleted immediately!&quot;)" />
            </section>
        </asp:Panel>
        <asp:Panel ID="otherPanel" runat="server" Visible="false">>
            <section id="Section1">
                <h3>
                    Change Password of
                    <asp:Label ID="userNameLabel" runat="server" Text="Label" /></h3>
                <ul class="formList">
                    <li><span>New Password</span><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></li>
                    <li><span>Confirm New Password</span><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></li>
                </ul>
            </section>
            <section>
                <asp:Button ID="disableButton" runat="server" OnClick="disableButton_Click" Text="Disable Account"
                    Visible="false" OnClientClick="return confirm(&quot;Do you really want to DISABLE this account?\nIf you press Yes, this account will be disabeled immediately!&quot;)" />
                <asp:Button ID="enableButton" runat="server" Text="Enable Account" Visible="false"
                    OnClick="enableButton_Click" />
            </section>
        </asp:Panel>
    </div>
</asp:Content>
